import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Cookies from 'js-cookie'

//引用ElementUI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

//引用全局样式
import './assets/Styles/common.scss'
import './assets/Styles/group.css'

import './permission' // permission control

//引入图标
 Vue.use(ElementUI, {
   size: Cookies.get('size') ||'medium' // set element-ui default size
})
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
